package net.yla.smartbus.module.ba.right.admin.service;

import com.alibaba.fastjson.JSONObject;
import net.yla.smartbus.core.base.PageBean;
import net.yla.smartbus.module.ba.right.admin.entity.AdminLoginLogsDO;
import net.yla.smartbus.module.ba.right.admin.query.LogCount;
import net.yla.smartbus.module.ba.right.admin.query.LogQuery;
import net.yla.smartbus.module.ba.right.admin.query.SaveQuery;

import java.util.List;

/**
 * @Date: 2020-08-18 10:13
 * @Author: Being Nobody
 * @Version: 1.0
 */
public interface AdminLoginLogsService {


    int deleteByPrimaryKey(Integer logId);

    int insert(AdminLoginLogsDO record);

    int insertSelective(AdminLoginLogsDO record);

    AdminLoginLogsDO selectByPrimaryKey(Integer logId);

    int updateByPrimaryKeySelective(AdminLoginLogsDO record);

    int updateByPrimaryKey(AdminLoginLogsDO record);

    int logOfCount(LogCount query, long ip);

    PageBean<JSONObject> logOfQuery(LogQuery query, Long ip);

    JSONObject logOfView(Integer logId);

}
